<?php
$a = array(
	'电脑、配件' => array(
		'品牌机' => array(
			'3' => '笔记本',
			'4' => '台式机'
		),
		'电脑配件' => array(
			'1' => 'CPU',
			'2' => '显卡'
		)
	)
);
echo json_encode($a);
?>